<template>
  <div class="home">
    <div class="header">
      <nav-header class="nav" :is-bgc="false" name="home"></nav-header>
    </div>
    <div class="main">
      <div class="top container-fluid">
        <div class="shadow">
          <video
            loop
            autoplay
            muted
            object-fit="fill"
            src="@/assets/video/1.mp4"
          ></video>
        </div>
        <home-introduction></home-introduction>
      </div>
      <div class="middle container-fluid">
        <home-service></home-service>
      </div>
      <div class="bootom">
        <home-contact></home-contact>
      </div>
    </div>

    <div class="footer">
      <im-footer></im-footer>
    </div>
  </div>
</template>

<script setup lang="ts">
import { NavHeader } from '@/components/nav-header'
import ImFooter from '@/components/im-footer'
import HomeIntroduction from './cpns/home-introduction.vue'
import HomeService from './cpns/home-service.vue'
import HomeContact from './cpns/home-contact.vue'
</script>

<style scoped lang="less">
.home {
  width: 100%;
  height: 100%;
  position: relative;

  .main {
    width: 100%;
    .shadow {
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      position: relative;
    }
    .top {
      padding: 0;
      video {
        width: 100%;
        position: relative;
        z-index: -6;
        display: block;
      }
      // background: url('@/assets/img/home/video-bg.png');
      // background-size: cover;
    }

    .middle {
      padding: 0;
      background-color: #0e0e12;
    }
  }

  .footer {
    width: 100%;
  }
}

@media screen and (max-width: 750px) {
  .header {
    height: 61px;
  }
}
</style>
